package server.test

import server.world._
import server.world.map._

object CTE {

	def makeTestMap(xDim:Int, yDim:Int):LocationMap = {
		var testloc = new LocationMap()
    
		for (x <- 0 to xDim)
			for(y <- 0 to yDim){
				if((x+y)%2 == 0){  
					testloc.addTile(new Tile(x, y, testloc))
				}
			}
    
    return testloc
	}
  
  def passTurns(x:Int){
  for(i <-0 to x){
    TurnProcessor.processTurn
  }
  }
  
  
}